const request = require('../utils/request.js')

// method, url, data
export const list = (page) => {
  return request.request('GET','/cake/order',{page})
}

export const orderDetail = (orderId) => {
  return request.request('GET','/cake/orderinfo',{orderId})
}

export const pay = (payObj) => {
  return request.request('post','/cake/pay',payObj)
}